<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>官方设备登记</title>
		<meta http-equiv="X-UA-Compatible" content='IE=edge' />
		<%@ include file="/inc/info.inc" %>
	    <link rel="stylesheet" href="/fw/pages/agent/css/agentAdd.css" media="screen">
		<script type="text/javascript" src="js/deviceRegister.js"></script>
		<style type="text/css">
		.control-label {
			padding-top: 0;
		}
        .col-sm-4 {
			width: 20.333%;
		}
		</style>
	</head>
	<body>
		<div id="agentList" class="hd_page">
			<div><%@ include file="../manage/heading.jsp"%></div>
			<div><%@ include file="../manage/hd_menu.jsp"%></div>
			<div class="content">
				<div id='grid'></div>
				<nav id='navbar' class="navbar navbar-default" role="navigation">
					<div class="top_item_search">
						<form class="form-horizontal">
							<div> <h4>官方设备登记:</h4></div>
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">蜂网软路由型号：</label>
								<div class="col-sm-4">
									<select id="rlyModel" class="form-control">
										<option value="FR6">FR6</option>   
									</select>
		 						</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">设备CPU型号：</label>
								<div class="col-sm-4">
									<select id="deviceModel" class="form-control">
										<option value="D525">D525</option>
										<option value="1037U">1037U</option>   
									</select>
		 						</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">设备SN：</label>
								<div class="col-sm-4">
								     <input id="deviceSn" class="form-control" placeHolder="输入设备SN"/>
		 						</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">再次确认设备SN：</label>
								<div class="col-sm-4">
								     <input id="deviceSn2" class="form-control" placeHolder="再次输入设备SN"/>
		 						</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">设备提供商：</label>
								<div class="col-sm-4">
									<select id="supplier" class="form-control">
										<option value="强哥">强哥</option>
										<option value="李特">李特</option>   
									</select>
		 						</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right">备注：</label>
								<div class="col-sm-4">
								     <input id="note" class="form-control" placeHolder="请输入备注"/>
		 						</div>
							</div>
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right"></label>
								<div class="col-sm-8">说明：此操作会根据CPU型号自动映射设备相应的官方SN</div>
							</div>
							<input type="text" style="display: none;"/>
							<div id='alertdiv'></div>
							<button style="position: relative; left: 200px;" type="button" onclick="sure()" class="btn btn-success" >保存</button>
							<div class="alert alert-danger" style="display: none;"></div>
							<div class="form-group">
							</div>
					 	</form>
						<div style="clear: both;"></div>
					</div>
				</nav>
			</div>
		</div>
	</body>
</html>